<template>
  <!-- 分诊 -->
  <section class="reservecentre">
    <el-tabs v-model="tabsIndex" type="border-card">
      <el-tab-pane name="0" label="待分诊">
        <daiFenZhen v-if="tabsIndex==0" :qxBtns="qxBtns"></daiFenZhen>
      </el-tab-pane>
      <el-tab-pane name="1" label="已分诊">
        <yiFenZhen v-if="tabsIndex==1" :qxBtns="qxBtns"></yiFenZhen>
      </el-tab-pane>
    </el-tabs>
  </section>
</template>
<script>
export default {
  components: {
    daiFenZhen: () => import("./_com/daifenzhen.vue"),
    yiFenZhen: () => import("./_com/yiFenZhen.vue")
  },
  data() {
    return {
      qxBtns: {},
      tabsIndex: 0
    };
  },
  mounted() {
    let th = this;
    th.getQX();
  },
  methods: {
    
  }
};
</script>
<style lang="scss" scoped>
.reservecentre {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  background-color: transparent !important;
}
</style>